package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Banner;

import java.util.List;


public interface BannerService {
    PageInfo<Banner> findByPage(int pageNum, int pageSize, String title);

    Banner findById(Integer id);

    void save(Banner banner);

    List<Banner> findAll();

    void update(Banner banner);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);
}